package com.ruoyi.app.api

object ConfigApi {

    // 成功
    const val SUCESSS: Int = 200
    // token 失效
    const val TOKEN_ERROR: String = "401"
    const val API_ERROR: String = "500"
//    var baseUrl = "http://192.168.1.138:8080"
    const val baseUrl = "http://vue.ruoyi.vip/prod-api"

    const val login = "/login";// 登录
    const val getInfo = "/getInfo"// 获取信息
    const val register = "/register"// 注册
    const val logout = "/logout"//退出
    const val getCaptchaImage = "/captchaImage"//获取验证码
    const val updatePwd = "/system/user/profile/updatePwd"// put修改密码
    const val getProfile = "/system/user/profile"//查询个人信息
    const val updateProfile = "/system/user/profile" //put 修改个人信息
    const val updateAvatar = "/system/user/profile/avatar"//post上传头像

    const val operlog = "/monitor/operlog/list"//操作日志

    const val uploadApp = "https://gitee.com/OptimisticDevelopers/Ruoyi-Android-App/raw/master/api/update_app.json"
}